package com.hrp.analyzer.spider;


/**
 * @author hrp
 * @date 2021/4/23 2:09
 */

public class Result<T> {
    private int page;
    private T data;

    public Result(int page, T data) {
        this.page = page;
        this.data = data;
    }

    public int getPage() {
        return page;
    }

    public Result<T> setPage(int page) {
        this.page = page;
        return this;
    }

    public T getData() {
        return data;
    }

    public Result<T> setData(T data) {
        this.data = data;
        return this;
    }
}
